package org.aurora.model.entity;

import java.io.Serializable;

public class Task implements Serializable {
    private Long id;
    /**
     * 任务名
     */
    private String name;

    /**
     * 表达式
     */
    private String expression;

    /**
     * 状态
     * @see org.aurora.model.type.TaskState
     */
    private int state;

    /**
     * 归属的应用
     */
    private String appcode;

    /**
     * 描述
     */
    private String description;

    /**
     * 类型
     * @see org.aurora.model.type.TaskType
     */
    private int type;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getExpression() {
        return expression;
    }

    public void setExpression(String expression) {
        this.expression = expression;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getAppcode() {
        return appcode;
    }

    public void setAppcode(String appcode) {
        this.appcode = appcode;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

}
